<?php
/**
 * Author Yulin
 * Email  dwzhanglong@126.com
 * Date   2017-7-21
 * Func   公告与帮助
 */
defined('IN_YuLin') || exit('NO PERMIT!');
// 获取公告信息（c_id = 1 为网站公告
$noticsTab    = Table('article');
$aid          = NoBadStr($_GET['aid']);
if ($aid){
    $noticsWhere  = ' WHERE id = ' . $aid;
    $sql          = 'SELECT id, title, content, dateline FROM ' . $noticsTab . $noticsWhere;
    $noticsInfo   = $db->getrow($sql);
}

$tpl->display('article/more');